package com.ds.bst;

public class Student {
	
	private String name;
	private String id;
	
	private int math;
	private int chinese;
	private int english;
	
	public Student() {
		super();
	}

	public Student(String name, String id, int math, int chinese, int english) {
		super();
		this.name = name;
		this.id = id;
		this.math = math;
		this.chinese = chinese;
		this.english = english;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getMath() {
		return math;
	}

	public void setMath(int math) {
		this.math = math;
	}

	public int getChinese() {
		return chinese;
	}

	public void setChinese(int chinese) {
		this.chinese = chinese;
	}

	public int getEnglish() {
		return english;
	}

	public void setEnglish(int english) {
		this.english = english;
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", id=" + id + ", math=" + math + ", chinese=" + chinese + ", english="
				+ english + "]";
	}
	
}
